package com.sn.author.filter.authentication;


import com.sn.author.filter.content.UserDetail;

/**
 * @Author Jackies
 * @Date 2019/12/8 11:38
 * @Description TODO://
 **/
public class AuthenticationImpl implements Authentication {

    private final UserDetail userDetail;

    public AuthenticationImpl(UserDetail userDetail) {
        this.userDetail = userDetail;
    }

    @Override
    public UserDetail getDetail() {
        return userDetail;
    }
}
